package com.sys.function;

import lombok.Data;

import java.util.LinkedList;
import java.util.List;

//本树用于接收来自前端发送的json树数据，并非存储于数据库的树结构或信息
@Data
public class STree implements Cloneable {
    private Integer id;

    private Integer pid;

    private String name;

    private String label;

    private String type;

    private Double weight;

    private Double val;

    private String param;

    private List<STree> children=new LinkedList<>();

    private String treename;

    private String token;

    private boolean expand;

    private boolean root;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
